package ooday04;


public class InterfaceDomo {
    public static void main(String[] args) {




    }


    /*interface Inter {

        //    public abstract void show();//完整写法

        void test();
        // void say(){}  编译错误,抽象方法不能有方法体
    }

    interface Inter1 extends Inter {
        void show();
    }

    class Aoo implements Inter, Inter1 {
        public void show() {

        }

        public void test() {

        }
    }*/


    interface Inter3 {
        void say();
    }

    interface Inter4 {
        void show();
    }

    interface Inter5 {
        void test();
    }

    interface Inter6 extends Inter5 {
        void jump();
    }

    class Boo implements Inter3, Inter4, Inter6 {
        public void say() {
        }

        public void show() {
        }

        public void test() {
        }

        public void jump() {
        }
    }


}
